<?php
namespace Entities;
/**
 * File is simple value object for feedback
 *
 * PHP version 5.3.5
 *
 * @category   CM
 * @package    Entities
 * @subpackage -
 * @author     markus karileet <markuskarileet@hotmail.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @link       -
 */
class Feedback extends ORM implements \Interfaces\Transactional {
	/**
	 * Variable for subject business
	 * @var int
	 */
	protected $_business;
	/**
	 * Variable for client rating (1 - 10)
	 * @var int
	 */
	protected $_rating;
	/**
	 * Variable for client commentary
	 * @var var
	 */
	protected $_comment;
	/**
	 * Variable for rating receiving time (unix timestamp)
	 * @var int
	 */
	protected $_time;
	/**
	 * Variable to identify user
	 * @var int
	 */
	protected $_user;
	
	public function getBusiness() {
		return $this->_business;
	}
	
	public function getRating() {
		return $this->_rating;
	}
	
	public function getComment() {
		return $this->_comment;
	}
	
	public function getTime() {
		return $this->_time;
	}
	
	public function getUser() {
		return $this->_user;
	}
	
	public function setBusiness($business) {
		$this->_business = $business;
	}
	
	public function setRating($rating) {
		$this->_rating = $rating;
	}

	public function setComment($comment) {
		$this->_comment = $comment;
	}
	
	public function setTime($time) {
		$this->_time = $time;
	}
	
	public function setUser($user) {
		$this->_user = $user;
	}
	
	public function getClassName() {
		return get_class();
	}
}